<?php
$url = "http://nieuw.cinema4d.be";
$output = array();
// run the spider
$command1 = '/opt/www/designexpress/web/www.designexpress.be/Classes/Info/Site/Analyser/runScraper.php -u '.$url;
exec($command1,$output);
print_r($output);
// analyse the pages found with the spider
$command2 = '/usr/bin/php /opt/www/designexpress/web/www.designexpress.be/Classes/Info/Site/Analyser/runPageAnalyser.php';
exec($command2,$output);
print_r( $output);
// generate and submit a sitemap
$command3='/usr/bin/php /opt/www/designexpress/web/www.designexpress.be/Classes/Info/Site/Analyser/runSitemap.php';
exec($command3,$output);
print_r($output);

?>
